<?php
return [
    // mysql数据库配置
    'db'                 => [
        // 是否记录执行的mysql语句
        'logged'             => true,
        // 记录执行时间超过0秒的mysql语句
        'max_execute_time'   => 0,
        // 比较时间到小数点后几位
        'scale'              => 5,
        'log_path'           => BASE_PATH . 'runtime/mysql/{Y/m/d}/{YmdH}.log',
        // 使用动态更新
        'use_dynamic_update' => true,
        // ORM选项配置
        'orm_options'        => [
            // 是否对字段是否为空的判断
            'not_null_validations' => false
        ],
        //开发
        'master' => [
            [
                'host'     => '127.0.0.1',
                'port'     => 3306,
                'username' => 'root',
                'password' => 'qq123456789..',
                'dbname'   => 'jiruanos_test',
                'charset'  => 'utf8'
            ]
        ],
        'slave' => [
            [
                'host'     => '127.0.0.1',
                'port'     => 3306,
                'username' => 'root',
                'password' => 'qq123456789..',
                'dbname'   => 'jiruanos_test',
                'charset'  => 'utf8'
            ]
        ],
        'redis'    => [
            'host'       => '127.0.0.1',
            'port'       => 6379,
            'auth'       => '123456',
            'persistent' => false,
            'prefix'     => '',
            'stats_key'  => '',
            'index'      => 0
        ]
    ],
    //jwt登录认证
    'jwt'=>[
        'jwtKey'=>'123456',
        'jwtExp'=>'99999999'
    ],
    //联盟配置
    'union' => [
        'tbUnion' => [
            'appKey' => '29517930', //淘宝联盟KEY/
            'appSecret' => '4cfddb442cef4e335ac2759623528b20',//淘宝联盟SECRET/
            'inviterCode' => 'HSDTQV',      //淘宝联盟邀请码
            'publisherInviteCode'=>'AFFTLV',      //运营身份邀请码
            'iosPid' => 'mm_115184870_1673500165_110380900420', //IOS推广位
            'iosMm' => '110380900420',  //IOS阿里妈妈物流调用
            'androidPid' => 'mm_115184870_1673500165_110380900420',//安卓推广位
            'androidMm' => '110380900420', //android阿里妈妈物流调用
            'tbName' => 'lllxxxqqqiii',//
            'haodankuApiKey' => 'maitao', //好单库授权30天一次/
            'dtkAppKey' => '5d84748908516',  //大淘客APPkey
            'dtkAppSecret' => 'b8965c5636329ab8225bdcc003001ee5',  //大淘客AppSecret
            'tbCallBack' => 'https://apitest.enshitc.com/api/relationtaoke/taobao_relation', //淘宝授权回调地址
            'ztkAppKey' => 'de56a292578e4293a2c4393eab3d088f', //折淘客APPKEY
            'ztkSid' => '31948',//折淘客SID
        ],

        //京东联盟
        'jdUnion' => [
            'unionId' => '1002811316',
            'appKey' => 'fa53ecd077353ac7019d17224aa91b5f',//
            'appSecret' => '646f4e24cac447afb757dcd204347bf2',//
            'jttAppId' => '2007091531103156',//京推推
            'jttAPPKey' => '19237bbaf640bf864d1e431d52dbb63e',//京推推
            'ddxAppKey' => 'Ef8I0tHXHV29NbO8P4oQt0fKG3EwpVKd',//订单侠
        ],

        //拼多多
        'pddUnion' => [
            'appSecret' => 'ac48e5619c07ee63271c62873f767435813f5e71',
            'clientId' => '94383ea2c18f4ae9ab462484c405ad42',
            'mediaId' => '9033888400',  //创建推广位用
        ],

        //唯品会
        'vphUnion' => [
            'appKey' => '82fd918a',
            'appSecret' => '6CC0E49D475E815E525BA07D0083F39D',
            'accessToken' => '1E1BB20176A7A053FB0091A83DF004D62165243B',
        ],

        //苏宁
        'snUnion' => [
            'appKey' => 'abd883f9abcb5dd2a3ce01bf331d8162',
            'appSecret' => 'e16944996ee34cc0d35b3c52c99a9727'
        ]
    ],
    //七牛
    'qiniu' =>[
        "accessKey"=>"3aEMMz9hABqZAQOiD1Ugp5-QtCqHmIzSx6qH4Jdm",
        "secretKey"=>"mPuYTRO0yq0LSdqemJw_VuSwPe8nK7AO70HdtarK",
        "cname"=>"qn-enshitc-com-idvbzqu.qiniudns.com",//七牛的CNAME
        "bucket"=>"buygou",//七牛的储存空间
    ],
    //支付宝
    'alipay'=>[
        'appId'=>'2021002161657132',//商户id
        'rsaPrivateKey'=>'MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCV47k2k4LiLYdMAQ0h6c/rOehwsjbfB/5xV1t5fEmLM37a8IxkQuq59z/nh12fclizh/5aZSn0rzITQNG0ukL55n7EmlpfFjnnuhzpa0JT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97XOEUKyKm9cNdjpPtAhVFsfzYNCii8L/HVxBzW5jtYVNrW2LMMgnGvf5H2hXY31QWOvKGF0dhn6mFsCBHh2dO1KuHwyhnbDTil1LBGeMe3xYjqzCy6nIZ1dK3xsJbo3Xp05PB+HdnaetVAo9MA05/NjyWZ5b32O6U30Qgh/j9xammGe5ba5T66wIDAQABoxIwEDAOBgNVHQ8BAf8EBAMCA/gwDQYJKoZIhvcNAQELBQADggEBAKJbdY/twFz/TM7rOYMTvluoSrhija3zJjsiT/vsV8AQwD3ZdwResMzJ3Bl+BSayRGyV9TJVJz81CyGm/RkfHqmavNVAsx08btYeWKfQ1f+5IRMNqOcz8nGGaiS5JYsYT4azdiwPWhA9t5KPAvzI2GRHf2XDIIDXE8UBVGHdVkmjYNK1ENzZNuZ+0z1XdQZuz6KsWkFhkIqBJN4MVd5LONBicTdEY6ItwdVIgDu4bT+Dd22RmC5peI7SfNzJE+t1+F+6CZyyF51suZX7IQ9hoj23mR0MBJbI4MgqHLwl0AW61noMyuZ/ezYrIGsbaleyY7z+YgBEqNUlmCXGlEAoN54=',//支付宝公钥
        'notifyUrl'=>"http://appapi.xxck.top/callback/alipaycallback",
    ],
    //多麦
    'duomai'=>[
        'duomai_id'=>'308501',//多麦媒体id
        'hash_android'=>'dd2e5702c86b7d7f92605acf38e0c448'
    ],
    //微信
    'wx'=>[
        'gzh'=>[    //公众号
            'appid'=>'wx686bd0c57dc4b19d',
            'secret'=>'e19f6716bae0e4aef70b4f059e1e6e74',
        ],
        'xcx'=>[    //小程序
            'appid'=>'wxadbc082dbfe3a379',
            'secret'=>'8b5fe5aaa27e9578b8a3408177710c76',
        ],
        'shanghu'=>[    //商户号
            'appid'=>'wxfdb1d5b652fa9c6d',
            'mch_id' => "1589517551", /*微信申请成功之后邮件中的商户id*/
            'app_secret' => '4f2e554a27c871110015bbc8cee08785',
            'api_key' => "52f16e70cfe646028289644bf60b810c", /*在微信商户平台上自己设定的api密钥 32位*/ //af23ea05c81da7732815949fda6e5eed
            'notify_url'=>'http://www.ddsdfeadfdaf',
        ]
    ],
    //极光推送
    'jpush'=>[
        'app_key'=>"",
        'app_secret'=>'',
    ],

    //聚推客
    'jutuike'=>[
        'pub_id'=>'11645',
        'apikey'=>'hY1zjycn5Bq48k1WLSiRCVAbmamcLoM5'
    ]

];